﻿using System;
using System.Xml.Serialization;

namespace Kiva7.DataClasses
{
    public class Terms
    {

        [XmlElement("disbursal_amount")]
        public double DisbursalAmount { get; set; }

        [XmlElement("disbursal_currency")]
        public string DisbursalCurrency { get; set; }

        [XmlElement("disbursal_date")]
        public DateTime? DisbursalDate { get; set; }

        [XmlElement("loan_amount")]
        public double LoanAmount { get; set; }

        [XmlElement("loss_liability")]
        public LossLiability LossLiability { get; set; }

        [XmlElement("scheduled_payments")]
        public ScheduledPayments ScheduledPayments { get; set; }

    }
}
